package com.wxx.mapper;

import com.wxx.model.DicRoleAcl;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Component
public interface DicRoleAclMapper extends Mapper<DicRoleAcl> {
    List<String> findAclIdByRoleId(@Param("roleId") String roleId);

    Integer addRoleAcl(@Param("roleId") String roleId, @Param("list") List<String> stringList);

    Integer delByRoleId(@Param("roleId") String roleId);

    int delByAclId(@Param("aclId") String aclId);
}